function main(sideList) {
  // 边长
  const sideCount = sideList.reduce(
    (accumulator, currentValue) => accumulator + currentValue
  )

  console.log(sideCount)

  if (!(sideCount % 4)) return false
  const sideItemCount = sideCount / 4

  const dp = new ArrayBuffer(sideList.length)
}

function useSide(count, sides) {}

console.log(main([5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 3]))
